package cn.stylefeng.guns.modular.tool.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.tool.entity.ToolGoodsInstall;
import cn.stylefeng.guns.modular.tool.model.params.ToolGoodsInstallParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolGoodsInstallResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;

/**
 * 产品重量设置 服务类
 */
public interface ToolGoodsInstallService extends IService<ToolGoodsInstall> {

    /**
     * 新增
     *
     * @author 
     * @Date 2022-04-25
     */
    void add(ToolGoodsInstallParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2022-04-25
     */
    void delete(ToolGoodsInstallParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2022-04-25
     */
    void update(ToolGoodsInstallParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2022-04-25
     */
    ToolGoodsInstallResult findBySpec(ToolGoodsInstallParam param,Long operateId);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2022-04-25
     */
    List<ToolGoodsInstallResult> findListBySpec(ToolGoodsInstallParam param,Long operateId);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2022-04-25
     */
     LayuiPageInfo findPageBySpec(ToolGoodsInstallParam param,String condition,Long operateId);

	ResponseData getExceldata(MultipartFile file,Long customerId, ResponseData data)throws Exception;

	boolean saveBatchList(List<ToolGoodsInstallParam> savelist);

}
